package com.ygu.websocket.srevice;

import io.netty.channel.Channel;

/**
 * 专门进行WebSocket 的操作 如 连接 断开 推送消息等
 */
public interface WebSocketService {

    void connect(Channel channel);

    void handleLogin(Channel channel);

    void userOffLine(Channel channel);

    void scanLoginUser(Long id, String code);

    void waitAuthorize(String code);
}
